#include "extra_switcher_ExtraSwitchEventHandler.h"
#include <windows.h>

#define MAX_LENGTH_TITLE 256

JNIEXPORT void JNICALL Java_extra_switcher_ExtraSwitchEventHandler_ShowWindow (JNIEnv *, jclass, jint WindowFromJava) {
	HWND WindowToShow = (HWND)WindowFromJava;
	SetForegroundWindow(WindowToShow);
	PostMessage(WindowToShow,NULL,NULL,NULL);
}